import request from '@/utils/request'

export default {

  /*  save(data) {
      return request({
        url: ``,
        method: 'post',
        data
      })
    },
    list(page) {
      return request({
        url: ``,
        method: 'get',
        params: { pageIndex: page.index, pageSize: page.size }
      })
    },
    delete(data) {
      return request({
        url: ``,
        method: 'delete',
        data
      })
    },
    getById(id) {
      return request({
        url: ``,
        method: 'get'
      })
    }*/

  // /project/pMsZhaoBiao/index/{projectId}
  // 招标列表
  zhaoBiaoList(projectId,page){
    return request({
      url: `/project/pMsZhaoBiao/index/${projectId}`,
      method: 'get',
      params: { pageIndex: page.index, pageSize: page.size }
    })
  },
  // /project/pMsZhaoBiao/deleteByIds
  // 根据id批量删除列表
  zhaoBiaoDelete(data){
    return request({
      url: `/project/pMsZhaoBiao/deleteByIds`,
      method: 'delete',
      data
    })
  },
}
